<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>小鬼消消乐</title>
    <link rel="stylesheet" href="styles/main.css">
</head>
<body>
    <div class="game-container">
        <header class="game-header">
            <h1>小鬼消消乐</h1>
            <div class="game-info">
                <div class="score-display">
                    <span class="label">分数:</span>
                    <span id="score">0</span>
                </div>
                <div class="time-display">
                    <span class="label">时间:</span>
                    <span id="time">00:00</span>
                </div>
                <button id="restart-btn" class="restart-btn">重新开始</button>
            </div>
        </header>
        
        <main class="game-main">
            <div id="game-grid" class="game-grid">
                <!-- 游戏网格将通过JavaScript动态生成 -->
            </div>
        </main>
        
        <div class="game-overlay" id="game-overlay" style="display: none;">
            <div class="overlay-content">
                <h2 id="overlay-title">游戏暂停</h2>
                <p id="overlay-message">点击继续按钮恢复游戏</p>
                <button id="continue-btn" class="continue-btn">继续游戏</button>
            </div>
        </div>
    </div>

    <!-- JavaScript模块 -->
    <script type="module" src="js/main.js"></script>
</body>
</html>